Xbasic

INDEX.ORDER_GET Function

Syntax

Order_Expression as C = Order_Get()

Description

Gets the index order expression.

Discussion

The .ORDER_GET() method returns the order expression for the index referenced by the object pointer.

Example

Finds the order of the first tag in the production index file.

dim tbl as P
dim indx as P
dim order as C
tbl = table.current()
tag = tbl.index_name_get(1)
indx = tbl.index_primary_put(tag)
order = indx.order_get()

See Also